//package com.info.zhiduoduo.admin.controller;
//
//import com.info.zhiduoduo.admin.service.AccountLinkLabelService;
//import com.info.zhiduoduo.common.constants.SmartResult;
//import com.info.zhiduoduo.common.formbean.BaseSimpleFormBean;
//import com.info.zhiduoduo.repository.entity.system.AccountLinkLabel;
//import io.swagger.annotations.Api;
//import io.swagger.annotations.ApiOperation;
//import org.springframework.beans.factory.annotation.Autowired;
//import org.springframework.web.bind.annotation.PostMapping;
//import org.springframework.web.bind.annotation.RequestBody;
//import org.springframework.web.bind.annotation.RequestMapping;
//import org.springframework.web.bind.annotation.RestController;
//
///**
// * @author tianyonghong
// * @create 2023/10/18
// */
//@Api(tags = "账号标签关联接口")
//@RestController
//@RequestMapping("/accountLink")
//public class AccountLinkLabelController {
//
//    @Autowired
//    AccountLinkLabelService accountLinkLabelService;
//
//    @ApiOperation("查询账号关联标签列表")
//    @PostMapping("/queryList")
//    public SmartResult<AccountLinkLabel> queryList(@RequestBody BaseSimpleFormBean<AccountLinkLabel> baseSimpleFormBean){
//        return accountLinkLabelService.queryList(baseSimpleFormBean);
//    }
//
//    @ApiOperation("新增账号关联标签")
//    @PostMapping("/saveOrUpdate")
//    public SmartResult saveOrUpdate(@RequestBody BaseSimpleFormBean<AccountLinkLabel> baseSimpleFormBean){
//        return accountLinkLabelService.saveOrUpdate(baseSimpleFormBean);
//    }
//
//    @ApiOperation("删除账号关联标签")
//    @PostMapping("/deleteById")
//    public SmartResult deleteById(@RequestBody BaseSimpleFormBean<Integer> baseSimpleFormBean){
//        return accountLinkLabelService.deleteById(baseSimpleFormBean.getReqdata());
//    }
//
//    @ApiOperation("查询账号关联标签所有数据,根据type类型")
//    @PostMapping("/queryAllList")
//    public SmartResult<AccountLinkLabel> queryAllList(@RequestBody BaseSimpleFormBean<String> baseSimpleFormBean){
//        return accountLinkLabelService.queryAllList(baseSimpleFormBean.getReqdata());
//    }
//
//}
